package com.trkj.dao.hjj;

import java.util.List;

import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.trkj.pojo.Scheduling;

public interface SchedulingDAO extends CrudRepository<Scheduling, Long>{
	@Query("select s FROM Scheduling s")
	public List<Scheduling> Schedulingfindall(Pageable p);
	@Query("select p from Scheduling p where p.scheduId=?1")
	public List<Scheduling> pazhouqi(Long scheduId);
}
